home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sources / xman / globals.c < prev    next >
C/C++ Source or Header  |  1994-09-27  |  2KB  |  44 lines

  1. /*
  2.  * xman - X window system manual page display program.
  3.  *
  4.  * $XConsortium: globals.c,v 1.8 91/06/08 18:15:23 rws Exp $
  5.  *
  6.  * Copyright 1987, 1988 Massachusetts Institute of Technology
  7.  *
  8.  * Permission to use, copy, modify, and distribute this software and its
  9.  * documentation for any purpose and without fee is hereby granted, provided
  10.  * that the above copyright notice appear in all copies and that both that
  11.  * copyright notice and this permission notice appear in supporting
  12.  * documentation, and that the name of M.I.T. not be used in advertising or
  13.  * publicity pertaining to distribution of the software without specific,
  14.  * written prior permission.  M.I.T. makes no representations about the
  15.  * suitability of this software for any purpose.  It is provided "as is"
  16.  * without express or implied warranty.
  17.  *
  18.  * Author:    Chris D. Peterson, MIT Project Athena
  19.  * Created:   October 22, 1987
  20.  */
  21.  
  22. #include "man.h"
  23.  
  24. Xman_Resources resources;    /* Resource manager sets these. */
  25.  
  26. /* bookkeeping global variables. */
  27.  
  28. Widget help_widget;        /* The help widget. */
  29.  
  30. int default_height,default_width; /* Approximately the default with and
  31.                         height, of the manpage when shown,
  32.                         the the top level manual page 
  33.                         window */
  34.  
  35. Manual * manual;        /* The manual structure. */
  36. int sections;            /* The number of manual sections. */
  37.  
  38. int man_pages_shown;        /* The current number of manual
  39.                    pages being shown, if 0 we exit. */
  40.  
  41. Widget initial_widget;        /* The initial widget, never realized. */
  42.  
  43. XContext manglobals_context;    /* The context for man_globals. */
  44.